#!/usr/bin/env python
# coding=utf-8

import RPi.GPIO as GPIO
import time


def init():
    channel = 20
    GPIO.setwarnings(False)
    GPIO.setmode(GPIO.BOARD)
    GPIO.setup(channel, GPIO.OUT)
    pass

def dect():
    GPIO.output(20, GPIO.HIGH)

init()
dect()
time.sleep(60)
GPIO.cleanup()


